Carbon


GetThemeTrackThumbRgn

Header: Appearance.h Carbon status: Supported

Obtains the region containing a track’s indicator.

OSStatus GetThemeTrackThumbRgn (
    const ThemeTrackDrawInfo *drawInfo, 
     thumbRgn
);
drawInfo

A pointer to a structure of type ThemeTrackDrawInfo. Before calling GetThemeTrackThumbRgn, set the structure to contain the current visual characteristics of the track.

thumbRgn

A value of type RgnHandle. On return, the region contains the actual dimensions and position of the indicator, in local coordinates.

function result

A result code.

DISCUSSION

Your application can use the GetThemeTrackThumbRgn function to obtain the indicator region for tracks that have indicators, such as sliders and scroll bars.

VERSION NOTES

This function is available with Appearance Manager 1.1 and later.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)